﻿using CheckIn.AdminServer;
using CheckIn.AdminServer.PlanDBModels;
using CheckIn.AdminServer.UserInfoDBModels;
using DawnAdminServer.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class CheckInItemUIExt
{
    [AssociatedQuery(
        PropertyName = nameof(CheckInItem.OwnerId) , 
        DbContextName = nameof(UserInfoDBContext) ,
        TableName = nameof(UserInfo),
        IdName = "id" , 
        CaptionName = nameof(UserInfo.Name))]
   public string OwnerName { get; set; }
}